package net.sx.minemodule.mvp.item;

import com.kedll.library.mvp.BaseItem;

import net.sx.minemodule.R;
import net.sx.minemodule.mvp.model.BrokerageListModel;

/**
 * 佣金明细item
 */
public class BrokerageListItem extends BaseItem<BrokerageListModel> {

    public BrokerageListItem(BrokerageListModel data) {
        super(data);
    }

    @Override
    public int getLayout() {
        return R.layout.mine_item_brokerage_list;
    }

    public String getFlag() {
        return getData().getFlag();             //收入/支出
    }

    public String getOrderSn() {
        return getData().getOrderSn();          //订单编号
    }

    public String getPrice() {
        return getData().getPrice();            //佣金金额
    }

    public String getCreateTime() {
        return getData().getCreateTime();       //创建时间
    }

    public String getCommissionSource() {
        return getData().getCommissionSource();//佣金来源
    }
}
